﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.ComplexEventProcessing;

namespace ProIAdapters.Input.SecurityEventLogW2K3
{
    /// <summary>
    /// Payload class for security log events, see StreamInsight
    /// documentation for info about payload.
    /// </summary>
    public class SecurityLogW2K3Event
    {
        public string Message { get; set; }
        public Int64 RecordID { get; set; }
        public DateTime TimeCreated { get; set; } 
        public Int32 EventId { get; set; }
        public string SourceName { get; set; } 
        public string Category { get; set; } 
        public string CategoryString  { get; set; } 
        public string ComputerName { get; set; }
        public string EventType { get; set; }
        public string Type { get; set; }
  
    }

    public class SessionEventInterval
    {
        public Int64 StartRecordID { get; set; }
        public Int64 EndRecordID { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public string MachineName { get; set; }
        public string TargetUserSid { get; set; }
        public string TargetUserName { get; set; }
        public Int32 ProcessId { get; set; }
        public Int32 ThreadId { get; set; }
    }
}
